import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/styles/index.less'
// 导入flexible模块，协助计算rem基准值
import 'amfe-flexible'

Vue.config.productionTip = false

// 导入全局过滤器-------------
import '@/filters/index.js'

// 一次性导入vant组件库
import Vant from 'vant'
import 'vant/lib/index.css'
// 一次性注册所有vant组件
Vue.use(Vant)

import conf from "@/config/index.js";
Vue.prototype.$conf = conf;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
